package com.bank.payment.service;

import com.bank.payment.dao.UserDao;
import com.bank.payment.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserDao userDao;

    public User getUserById(String id) {
        return userDao.getUserById(id);
    }

}
